import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
// 刘雨潼的路由
import Choujiang from '../components/Choujiang.vue'

import Header from '../views/Header.vue' //穆永琪的路由
import ShouYe from '../views/ShouYe.vue' //穆永琪的路由

import Nmgl from '../components/nm_gl.vue' //鲁雪晴的路由
import Jxpush from '../components/jx_push.vue' //王悦的路由
<<<<<<< HEAD

import Loginz from '../components/login_z.vue' //用户登录的路由
import Registerz from '../components/register_z.vue' //用户注册的路由

=======
>>>>>>> c5b433086c934b04e8188995a0033d20e06ceeab
Vue.use(VueRouter)

const routes = [{ //穆永琪的路由
        path: '/shouye',
        name: 'ShouYe',
        component: ShouYe
    },
    { //穆永琪的路由
        path: '/',
        name: 'Header',
        component: Header
    },
    {
        path: '/choujiang',
        name: 'Choujiang',
        component: Choujiang
    },
    { //用户登录路由
        path: '/loginz',
        name: 'Loginz',
        component: Loginz
    },
    { //用户注册路由
        path: '/registerz',
        name: 'Registerz',
        component: Registerz
    },
    {
        path: '/neimu',
        name: 'Choujiang',
        component: Nmgl
    }
    //王悦
    ,
    {
        path: '/jxpush',
        name: 'jxpush',
        component: Jxpush
    },
    {
        path: '/sss',
        name: 'Home',
        component: Home
    },
    {
        path: '/about',
        name: 'About',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../views/About.vue')
    }
]

const router = new VueRouter({
    routes
})

export default router